package com.hutu.comment.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

/**
 * 用户点赞问题表
 *
 * @TableName tb_user_liked_question
 */
@TableName(value = "tb_user_liked_question")
@Data
public class TbUserLikedQuestion implements Serializable {
    /**
     * 用户
     */
    @MppMultiId
    @TableField(value = "username")
    private String username;

    /**
     * 问题id
     */
    @MppMultiId
    @TableField(value = "question_id")
    private String questionId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}